package cn.hxz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description: TODO
 * @Author: huangxinzhang
 * @Date: 2024/9/11
 **/
@Controller
public class TestController {

    @RequestMapping("/")
    public String first(Model model) {
        System.out.println("start....");
        return "index";
    }

    @RequestMapping("/hello")
    public String hello() {
        System.out.println("hello");
        return "success";
    }

}
